<?php
$webRoot = $this->app->getWebRoot();
$jsRoot  = $webRoot . 'js/';
$web = $webRoot.'module/'.$this->moduleName.'/';
?>
<?php
$webRoot      = $this->app->getWebRoot();
$jsRoot       = $webRoot . "js/";
$themeRoot    = $webRoot . "theme/";
$defaultTheme = $webRoot . 'theme/default/';
$langTheme    = $themeRoot . 'lang/' . $app->getClientLang() . '.css';
$clientTheme  = $this->app->getClientTheme();
?>
<!DOCTYPE html>
<html lang='en'>
<head>
 <?php
 if(isset($title)) echo html::title($title . ' - ' . $lang->zentaophp);

 echo html::meta('charset', 'utf-8');
 echo html::meta('viewport', 'width=device-width, initial-scale=1.0');
 css::import($themeRoot . 'zui/css/zui.min.css');

 css::import($defaultTheme . 'zh-cn.default.css');

 if(isset($pageCss)) css::internal($pageCss);

 js::import($jsRoot . 'jquery.min.js'); 
 js::import($jsRoot . 'zui.min.js');
 js::import($jsRoot . 'html5shiv.min.js', 'lt IE 9');
 js::import($jsRoot . 'my.js');
 js::import($jsRoot  . 'all.js');
 css::import($themeRoot . 'default/style.css');
 js::exportConfigVars();
js::import($web.'js/'.$this->methodName.'.js');
 css::import($web.'css/'.$this->methodName.'.css');
 echo html::favicon($webRoot . 'favicon.ico');
 if(isset($pageCSS)) css::internal($pageCSS);
 ?>
 <!--[if lt IE 9]>
 <?php
js::import($jsRoot . 'html5shiv/min.js');
js::import($jsRoot . 'respond/min.js');
?>
 <![endif]-->
 <!--[if lt IE 10]>
 <?php
js::import($jsRoot . 'jquery/placeholder/min.js');
?>
 <![endif]-->

</head>
<body>
